projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615a4ad
)
MX28: DMA: Prolong the DMA timeout
author
Marek Vasut
<
[email protected]
>
Tue, 21 Aug 2012 16:17:26 +0000
(16:17 +0000)
committer
Albert ARIBAUD
<
[email protected]
>
Sat, 1 Sep 2012 12:58:29 +0000
(14:58 +0200)
Load from SPI flash can create a long DMA chain, which can take long
time to transfer. Change the DMA timeout to roughly 10s to prevent
such long chains misreporting errors.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Fabio Estevam <
[email protected]
>
Cc: Otavio Salvador <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
drivers/dma/apbh_dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/apbh_dma.c
b/drivers/dma/apbh_dma.c
index ca5a32fc0900055f9ea97e8f7d3b0ecb81ad7335..37a941cc5bb2361022ed74c109362c85eb8ca170 100644
(file)
--- a/
drivers/dma/apbh_dma.c
+++ b/
drivers/dma/apbh_dma.c
@@
-526,7
+526,7
@@
static int mxs_dma_wait_complete(uint32_t timeout, unsigned int chan)
*/
int mxs_dma_go(int chan)
{
- uint32_t timeout = 10000;
+ uint32_t timeout = 10000
000
;
int ret;
LIST_HEAD(tmp_desc_list);